package com.fate.feign;

import com.fate.domain.Sku;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(value = "product-service")
public interface CartSkuFeign {
    /**
     * 远程调用根据skuids 查询sku集合
     */
    @PostMapping("prod/prod/getSkuListBuIds")
    List<Sku> getSkuListByIds(@RequestBody List<Long> skuIds);

}
